package components;

import fr.irit.smac.muadl.impl.j.QuasiComponent;

public abstract class QuasiComponentRepresentations
		extends
			QuasiComponent<AdapterRepresentations> {

	abstract public int getCriticity();

	abstract public java.util.ArrayList<tools.MMME> getRequiredMMMECharacteristics();

	abstract public java.util.ArrayList<tools.MMME> getProvidedMMMECharacteristics();

	abstract public java.util.Vector<java.lang.String> getRequiredElements();

	abstract public java.util.Vector<impl.AgentRef> getChallengingFragments();

	abstract public tools.FragmentState getMyState();

	abstract public int getProcessNumber();

	abstract public void setMyState(tools.FragmentState state);

	abstract public void setCriticity(int stimulation);

	abstract public void setProcessNumber(int processNumber);

	abstract public void setRequiredMMMECharacteristics(tools.MMME mmme);

	abstract public void setProvidedMMMECharacteristics(tools.MMME mmme);

	abstract public void initRep();

	protected java.util.ArrayList<tools.MMME> getRequiredMMME() {
		return this.architecture().getRequiredMMME();
	}

	protected java.util.ArrayList<tools.MMME> getProvidedMMME() {
		return this.architecture().getProvidedMMME();
	}

	protected impl.AgentRef getId() {
		return this.architecture().getId();
	}

	protected int getContextAdequacy() {
		return this.architecture().getContextAdequacy();
	}

}
